//package com.mbj.san;
import java.util.Scanner;
//7-1 偶数乘2奇数乘3 (10 分)
/*
public class test_3_5 {
    public static void main(String[] args)
    {
        int a = 0;
        Scanner inn = new Scanner(System.in);
        a = inn.nextInt();
        if(a % 2 == 0)
            a = a * 2;
        else
            a = a * 3;

        System.out.println("y="+a);

    }
}
*/
//7-6 三角形判断 (15 分)
/*public class test_3_5 {
    public static void main(String[] args)
    {
        int [] arr = new int[6];
        Scanner inn = new Scanner(System.in);
        int i = 0;
        for(i = 0; i < 6; i++)
        {
            arr[i] = inn.nextInt();
        }
        for(i = 0; i < 6; i++)
        {
            System.out.printf("%d ", arr[i]);

        }

    }
}*/
//7-2 分段函数1 (10 分)
/*
public class test_3_5 {
    public static void main(String[] args)
    {
        double x = 0;
        double y = 0;
        Scanner inn = new Scanner(System.in);
        x = inn.nextDouble();
        if(x > 5)
            y = Math.sin(x) + 5;
        else if(x >= 0)
            y = 2*x + 1;
        else
            y = Math.abs(x + 1);

            System.out.printf("x=%.2f,y=%.2f ", x, y);

    }
}*/
